
package system.base;

import framework.core.*;

/*
	Author    :Arrow
	CreateTime:2009-01-05 10:28:05
*/
public class WorldExpSearchEvent extends SearchEvent
{

	private String m_id = "" ; // all

	private String m_bill_type_code = "" ; // all

	private String m_bill_type = "" ; // all

	private String m_material_code = "" ; // all

	private String m_balance_code = "" ; // all

	private String m_warehouse_code = "" ; // all

	private String m_warehouse_name = "" ; // all

	private String m_bus_code = "" ; // all

	private String m_bus_type = "" ; // all

	private String m_pz_code = "" ; // all

	private String m_in_date = "" ; // all

	private String m_out_date = "" ; // all

	private String m_line = "" ; // all

	private String m_check_person = "" ; // all

	private String m_balance_person = "" ; // all

	private double m_kilo = Value.NULL_DOUBLE ; // all

	private double m_gs_price = Value.NULL_DOUBLE ; // all

	private double m_material_price = Value.NULL_DOUBLE ; // all

	private double m_wjg_price = Value.NULL_DOUBLE ; // all

	private String m_upload_person_id = "" ; // all

	private String m_upload_person = "" ; // all

	private String m_upload_time = "" ; // all

	private String m_file_name = "" ; // all

	private String m_file_path = "" ; // all
		

public WorldExpSearchEvent() 
{
	super();
	
	setOrderField(WorldExp.ID);
		
}



	public String getId()
	{
		return m_id ;
	}
	public void setId(String v)
	{
		m_id = v;
	}

	public String getBillTypeCode()
	{
		return m_bill_type_code ;
	}
	public void setBillTypeCode(String v)
	{
		m_bill_type_code = v;
	}

	public String getBillType()
	{
		return m_bill_type ;
	}
	public void setBillType(String v)
	{
		m_bill_type = v;
	}

	public String getMaterialCode()
	{
		return m_material_code ;
	}
	public void setMaterialCode(String v)
	{
		m_material_code = v;
	}

	public String getBalanceCode()
	{
		return m_balance_code ;
	}
	public void setBalanceCode(String v)
	{
		m_balance_code = v;
	}

	public String getWarehouseCode()
	{
		return m_warehouse_code ;
	}
	public void setWarehouseCode(String v)
	{
		m_warehouse_code = v;
	}

	public String getWarehouseName()
	{
		return m_warehouse_name ;
	}
	public void setWarehouseName(String v)
	{
		m_warehouse_name = v;
	}

	public String getBusCode()
	{
		return m_bus_code ;
	}
	public void setBusCode(String v)
	{
		m_bus_code = v;
	}

	public String getBusType()
	{
		return m_bus_type ;
	}
	public void setBusType(String v)
	{
		m_bus_type = v;
	}

	public String getPzCode()
	{
		return m_pz_code ;
	}
	public void setPzCode(String v)
	{
		m_pz_code = v;
	}

	public String getInDate()
	{
		return m_in_date ;
	}
	public void setInDate(String v)
	{
		m_in_date = v;
	}

	public String getOutDate()
	{
		return m_out_date ;
	}
	public void setOutDate(String v)
	{
		m_out_date = v;
	}

	public String getLine()
	{
		return m_line ;
	}
	public void setLine(String v)
	{
		m_line = v;
	}

	public String getCheckPerson()
	{
		return m_check_person ;
	}
	public void setCheckPerson(String v)
	{
		m_check_person = v;
	}

	public String getBalancePerson()
	{
		return m_balance_person ;
	}
	public void setBalancePerson(String v)
	{
		m_balance_person = v;
	}

	public double getKilo()
	{
		return m_kilo ;
	}
	public void setKilo(double v)
	{
		m_kilo = v;
	}

	public double getGsPrice()
	{
		return m_gs_price ;
	}
	public void setGsPrice(double v)
	{
		m_gs_price = v;
	}

	public double getMaterialPrice()
	{
		return m_material_price ;
	}
	public void setMaterialPrice(double v)
	{
		m_material_price = v;
	}

	public double getWjgPrice()
	{
		return m_wjg_price ;
	}
	public void setWjgPrice(double v)
	{
		m_wjg_price = v;
	}

	public String getUploadPersonId()
	{
		return m_upload_person_id ;
	}
	public void setUploadPersonId(String v)
	{
		m_upload_person_id = v;
	}

	public String getUploadPerson()
	{
		return m_upload_person ;
	}
	public void setUploadPerson(String v)
	{
		m_upload_person = v;
	}

	public String getUploadTime()
	{
		return m_upload_time ;
	}
	public void setUploadTime(String v)
	{
		m_upload_time = v;
	}

	public String getFileName()
	{
		return m_file_name ;
	}
	public void setFileName(String v)
	{
		m_file_name = v;
	}

	public String getFilePath()
	{
		return m_file_path ;
	}
	public void setFilePath(String v)
	{
		m_file_path = v;
	}
		



	public String viewId() throws Exception
	{
		return Value.view(getId());
	}

	public String viewBillTypeCode() throws Exception
	{
		return Value.view(getBillTypeCode());
	}

	public String viewBillType() throws Exception
	{
		return Value.view(getBillType());
	}

	public String viewMaterialCode() throws Exception
	{
		return Value.view(getMaterialCode());
	}

	public String viewBalanceCode() throws Exception
	{
		return Value.view(getBalanceCode());
	}

	public String viewWarehouseCode() throws Exception
	{
		return Value.view(getWarehouseCode());
	}

	public String viewWarehouseName() throws Exception
	{
		return Value.view(getWarehouseName());
	}

	public String viewBusCode() throws Exception
	{
		return Value.view(getBusCode());
	}

	public String viewBusType() throws Exception
	{
		return Value.view(getBusType());
	}

	public String viewPzCode() throws Exception
	{
		return Value.view(getPzCode());
	}

	public String viewInDate() throws Exception
	{
		return Value.view(getInDate());
	}

	public String viewOutDate() throws Exception
	{
		return Value.view(getOutDate());
	}

	public String viewLine() throws Exception
	{
		return Value.view(getLine());
	}

	public String viewCheckPerson() throws Exception
	{
		return Value.view(getCheckPerson());
	}

	public String viewBalancePerson() throws Exception
	{
		return Value.view(getBalancePerson());
	}

	public String viewKilo() throws Exception
	{
		return Value.view(getKilo());
	}

	public String viewGsPrice() throws Exception
	{
		return Value.view(getGsPrice());
	}

	public String viewMaterialPrice() throws Exception
	{
		return Value.view(getMaterialPrice());
	}

	public String viewWjgPrice() throws Exception
	{
		return Value.view(getWjgPrice());
	}

	public String viewUploadPersonId() throws Exception
	{
		return Value.view(getUploadPersonId());
	}

	public String viewUploadPerson() throws Exception
	{
		return Value.view(getUploadPerson());
	}

	public String viewUploadTime() throws Exception
	{
		return Value.view(getUploadTime());
	}

	public String viewFileName() throws Exception
	{
		return Value.view(getFileName());
	}

	public String viewFilePath() throws Exception
	{
		return Value.view(getFilePath());
	}


	public Conditions toConditions() throws Exception
	{
		Conditions c = super.toConditions();

	c.add(getCondition(WorldExp.ID,getId()));

	c.add(getCondition(WorldExp.BILL_TYPE_CODE,getBillTypeCode()));

	c.add(getCondition(WorldExp.BILL_TYPE,getBillType()));

	c.add(getCondition(WorldExp.MATERIAL_CODE,getMaterialCode()));

	c.add(getCondition(WorldExp.BALANCE_CODE,getBalanceCode()));

	c.add(getCondition(WorldExp.WAREHOUSE_CODE,getWarehouseCode()));

	c.add(getCondition(WorldExp.WAREHOUSE_NAME,getWarehouseName()));

	c.add(getCondition(WorldExp.BUS_CODE,getBusCode()));

	c.add(getCondition(WorldExp.BUS_TYPE,getBusType()));

	c.add(getCondition(WorldExp.PZ_CODE,getPzCode()));

	c.add(getCondition(WorldExp.IN_DATE,getInDate()));

	c.add(getCondition(WorldExp.OUT_DATE,getOutDate()));

	c.add(getCondition(WorldExp.LINE,getLine()));

	c.add(getCondition(WorldExp.CHECK_PERSON,getCheckPerson()));

	c.add(getCondition(WorldExp.BALANCE_PERSON,getBalancePerson()));

	c.add(getCondition(WorldExp.KILO,getKilo()));

	c.add(getCondition(WorldExp.GS_PRICE,getGsPrice()));

	c.add(getCondition(WorldExp.MATERIAL_PRICE,getMaterialPrice()));

	c.add(getCondition(WorldExp.WJG_PRICE,getWjgPrice()));

	c.add(getCondition(WorldExp.UPLOAD_PERSON_ID,getUploadPersonId()));

	c.add(getCondition(WorldExp.UPLOAD_PERSON,getUploadPerson()));

	c.add(getCondition(WorldExp.UPLOAD_TIME,getUploadTime()));

	c.add(getCondition(WorldExp.FILE_NAME,getFileName()));

	c.add(getCondition(WorldExp.FILE_PATH,getFilePath()));
		

			
		return c ;
	}
	
//add by Arrow start

//add by Arrow end
}
